//
//  NetWorkLoginAndRegister.h
//  MobileShoppingMall
//
//  Created by 冯传昌 on 2021/4/21.
//  Copyright © 2021 冯传昌. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NetWorkLoginAndRegister : NSObject
//获取验证码
+(void)getSmsCode:(NSString *)code withSuccessBlock:(void(^)(id responseObj))successBlock;

//注册
+(void)registerWithParams:(NSDictionary *)params withSuccessBlock:(void(^)(id responseObj))successBlock;

//登录
+(void)loginWithParams:(NSDictionary *)params withSuccessBlock:(void(^)(id responseObj))successBlock;

//异步 存储用户信息
+(void)saveUserInfo:(NSDictionary *)userInfo;

@end

NS_ASSUME_NONNULL_END
